package cn.acewill.wsh.dagger2framedemolearn.app.di

import android.content.SharedPreferences
import cn.acewill.wsh.dagger2framedemolearn.app.DaggerApp
import dagger.Component

/**
 * <pre>
 * @author : zhangyong
 * e-mail : xxx@xx
 * time : 2020/01/09
 * desc :
 * version: 1.0
 * </pre>
 */
@Component(modules = [AppModule::class])
interface AppComponent {
    fun inject(app:DaggerApp)

    fun getSharedPreference():SharedPreferences

    fun getApplication():DaggerApp
}